libxl: fix build since 22325:4ac03710fc32
authorGianni Tedesco <gianni.tedesco@citrix.com>
Mon, 1 Nov 2010 18:13:31 +0000 (18:13 +0000)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Mon, 1 Nov 2010 18:13:31 +0000 (18:13 +0000)
"libxl: Fix migration of HVM guests" introduces a stat call without
including <sys/stat.h>

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_dom.c

index bbba8057e8f98aacb04f974605544081fa029945..6329942db5e09d7361eab7ddf8b6d822ae21e327 100644 (file)
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <sys/mman.h>
 #include <sys/time.h> /* for struct timeval */
+#include <sys/stat.h> /* for stat */
 #include <unistd.h> /* for sleep(2) */
 
 #include <xenctrl.h>